<#include "../adminNavigation/index.html">
<#if message?exists>
	${message}
</#if>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="${contextPath}/admin">教学日历服务与管理管理员首页</a>
							</li>
							<li class="active">课表文件</li>
						</ul><!-- .breadcrumb -->
					</div>
                   <div class="page-content">
					

						<div class="row">
							<div class="col-xs-12">
							

							<table style="font-size:17px;" cellspacing="0" cellpadding="0">
      							<tr>
        							<th>文件名</th>
        							<th>学期</th>
        							<th>上传时间</th>
        							<th>下载</th>
        							<th>删除</th>
     							</tr>
      								
      								<#list listAll as coursefile>
      								<tr>
      									<td>${coursefile.courseFileChangeName!}</td>
      									<td>${coursefile.courseFileTerm!}</td>
      									<td>${coursefile.courseFileTime!}</td>
      									<td>
      										<a href="${contextPath}/admin/adminManage/downloadCourseFile/${coursefile.pkCourseFile}">下载</a>
      										
      									</td>
      									<td><a href="${contextPath}/admin/adminManage/deleteCourseFile/${coursefile.pkCourseFile}">删除</a></td>
      								</tr>
      								</#list>
    						</table>		
    									 
						<div align="center">
							
							共 ${page.totalPageCount!} 页第
								${page.pageNow!} 页
								
							<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=1">首页</a>
							 <#if (page.pageNow-1) gt 0 >
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.pageNow - 1}">上一页</a>
							 </#if>
								<#if page.pageNow-1 lte 0 >
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=1">上一页</a>
								</#if> 
					 			<#if page.totalPageCount==0>
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.pageNow}">下一页</a>
								</#if>
								<#if ((page.pageNow + 1) lt page.totalPageCount) >
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.pageNow + 1}">下一页</a>
								</#if>
								<#if (page.pageNow + 1 gte page.totalPageCount) >
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.totalPageCount}">下一页</a>
								</#if>
						
								<#if (page.totalPageCount==0)>
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.pageNow}">尾页</a>
								<#else>
									<a href="${contextPath}/admin/adminManage/getCourseList/?pageNow=${page.totalPageCount}">尾页</a>
								</#if>
			         </div>
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
					
					
		</div><!-- /.main-container-inner -->

			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->

		